<?php
class TestAction extends Action{
	public function index(){
		$this->display();
	}
	public function save(){
		$title = I('title');
// 		dump($_POST['title']);
// 		dump(htmlspecialchars($_POST['title']));
// 		dump(stripslashes($_POST['title']));
// 		$title = filtergpc(I('title'));
// 		dump($title);
// 		dump(htmlspecialchars_decode($title));
// 		$title = I('title','','addslashes');
		dump($title);
		/* $Model = M("News");
		$where = array('title'=>$title);
		$sql = 'select * from yima_sync where title='.$title;
		$res = $Model->where($where)->select();
		dump($res); */
	}
}